Các thông số Bản_mẫu:Cref2

Cref2

Cref2 được đặt trong cùng dòng với nội dung văn bản, thông số đầu tiên phải tương ứng với thông số đầu tiên trong tiêu bản Cnote2.

{{Cref2|n}}

Cho kết quả:

Cnote2

Cnote2 có 2 thông số là: thông số đích và chữ. Thông số đích ghi đầu tiên và phải tương ứng với thông số đầu trong Cref2. Thông số thứ 2 là chữ. Nếu trong phần tham số này có chứa kí hiệu thì phải đặt nó trong dấu " " như "2=" (e.g. | ) ví dụ:

{{Cnote2 Begin|list-style=disc}}{{Cnote2|i|text text text text}}{{Cnote2|i|2=text and equal sign = text}}{{Cnote2 End}}

Cho kết quả:

  1. ^
    text text text text
  2. ^
    text and equal sign = text

Cnote2 Begin

Cntoe2 Begin, tương tự {{Refbegin}} thì có 2 thông số.

  • colwidth: độ rộng cột như 30em; this only works for certain web browsers. (Note, rather than using colwidth, you can specify the number of columns exactly by replacing the colwidth=30em with either a "2" or "3".)
  • liststyle enter the list style you wish to use, the default is upper-alpha.
{{Cnote2 Begin|liststyle=upper-roman|colwidth=30em}}{{Cnote2|I|text text text text}}{{Cnote2|II|text text text text}}{{Cnote2|III|text text text text}}{{Cnote2 End}}
  1. ^
    text text text text
  2. ^
    text text text text
  3. ^
    text text text text
{{Cnote2 Begin|liststyle=decimal-leading-zero|2}}{{Cnote2|01|text text text text}}{{Cnote2|02|text text text text}}{{Cnote2|03|text text text text}}{{Cnote2 End}}
  1. ^
    text text text text
  2. ^
    text text text text
  3. ^
    text text text text
Table of liststyles
none
  1. text
  2. text
  3. text
disc
  1. text
  2. text
  3. text
circle
  1. text
  2. text
  3. text
square
  1. text
  2. text
  3. text
decimal
  1. text
  2. text
  3. text
decimal-leading-zero
  1. text
  2. text
  3. text
lower-roman
  1. text
  2. text
  3. text
upper-roman
  1. text
  2. text
  3. text
lower-alpha
  1. text
  2. text
  3. text
upper-alpha
  1. text
  2. text
  3. text
lower-greek
  1. text
  2. text
  3. text
lower-latin
  1. text
  2. text
  3. text
upper-latin
  1. text
  2. text
  3. text
hebrew
  1. text
  2. text
  3. text
armenian
  1. text
  2. text
  3. text
georgian
  1. text
  2. text
  3. text
cjk-ideographic
  1. text
  2. text
  3. text
hiragana
  1. text
  2. text
  3. text
katakana
  1. text
  2. text
  3. text
hiragana-iroha
  1. text
  2. text
  3. text
katakana-iroha
  1. text
  2. text
  3. text

Cnote2 End

Tiêu bản này được đặt vào cuối danh sách Cnote2.

Liên quan